package vo

import (
	"shop-manager/internal/do"
	"time"
)

type Category struct {
	ID      int
	ClassID int
	LevelID int
	BrandID int

	CreatedAt time.Time
	UpdatedAt time.Time

	ClassName string
	LevelName string
	BrandName string
}

type ListCategoryReq struct {
	Page          int
	PageSize      int
	Search        string
	Sorts         string
	CategoryTypes []do.CategoryType
}

type ListCategoryRsp struct {
	Items []*Category
	Total int64
}
